﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConsumptionRecord.aspx.cs" Inherits="Master_ConsumptionRecord" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="Css/Css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="Form1" runat="server">
    <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align="center">
        <tr>
            <td colspan="3" align="center" class="title">
                <strong>用户消费记录</strong>
            </td>
        </tr>
        <tr class="tdbg">
            <td width="70" height="30">
                <strong>管理导航：</strong>
            </td>
            <td height="30" width="65%">
                <a href="ConsumptionRecord.aspx">用户消费记录</a>
            </td>
            <td height="30" style="color:Red;">
                “+”表示消费,“-”表示进帐
            </td>
        </tr>
    </table>
    <asp:Panel ID="palListAnnounce" runat="server">
        <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border">
            <tr class="title">
                <td height="30" width="10%" align="center">
                    用户
                </td>
                <td height="30" align="center">
                    消费点数
                </td>
                <td height="30" align="center">
                    消费时间
                </td>
                <td height="30" align="center">
                    消费详细
                </td>
                <td height="30" align="center">
                    用户类别
                </td>
            </tr>
            <asp:Repeater ID="rptNetMuList" runat="server" onitemdatabound="rptNetMuList_ItemDataBound">
                <ItemTemplate>
                    <tr class="tdbg" onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#cccccc'" style="padding: 0px 2px;">
                        <asp:HiddenField ID="hldUserId" runat="server" Value='<%#Eval("UserId") %>' />
                        <asp:HiddenField ID="hldUserType" runat="server" Value='<%#Eval("UserType") %>' />
                        <td align="center">
                            <asp:Label ID="lblName" runat="server" />
                        </td>
                        <td align="center" height="30">
                            <%#Eval("Point").ToString().IndexOf("-")<0?"+":""%><%#Eval("Point")%>
                        </td>
                        <td align="center">
                            <%#Eval("AddTime","{0:yyyy-MM-dd HH:mm}") %>
                        </td>
                        <td align="left">
                            <%#Eval("Readme") %>
                        </td>
                        <td align="center">
                            <%#GetUserTypeName(Eval("UserType").ToString()) %>
                        </td>
                        
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:Panel ID="pl_nothing" runat="server" Visible="false">
                        <tr>
                            <td colspan="8">
                                暂无任何文章
                            </td>
                        </tr>
                    </asp:Panel>
                </FooterTemplate>
            </asp:Repeater>
            <tr class="tdbg">
                <td colspan="9" height="25" align="right">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged" CurrentPageButtonPosition="Beginning" CustomInfoHTML="共%PageCount%页，当前为第%CurrentPageIndex%页，每页%PageSize%条" LayoutType="Table" NumericButtonTextFormatString="[{0}]" PageIndexBoxType="DropDownList" PageSize="25" ShowCustomInfoSection="Left" ShowPageIndexBox="Always" SubmitButtonText="Go" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" UrlPaging="True" AlwaysShow="True">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </asp:Panel>
    </form>
</body>
</html>
